import * as vue from 'vue'
import { useStore } from 'vuex'
import { useRoute, useRouter } from 'vue-router'
import API from '@/api'
import { message } from 'ant-design-vue'

export function useAutoImport() {
  const $store = useStore()
  const $route = useRoute()
  const $router = useRouter()

  return { ...vue, $store, $route, $router, message, API }
}
